package com.qf.votedemo.contestant.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.votedemo.contestant.entity.Contestantphone;
import com.qf.votedemo.contestant.entity.Ticket;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lx
 * @since 2023-02-24
 */
public interface IContestantphoneService extends IService<Contestantphone> {

    void vote(Integer pid, Integer contestantId);

    void updateVote(Contestantphone contestantphone,Integer pid,Integer contestantId);

    List<Ticket> getTicket();

    Integer getTotal();

    List<Ticket> getTicketRedis();
}
